import request from '@/utils/request'



// 查询参数列表
export function listEmploymentPlanStatistics(query) {
  return request({
    url: '/employment/plan/listEmploymentPlanStatistics',
    method: 'get',
    params: query
  })
}

// 查询详情列表
export function listEmploymentPlan(query) {
  return request({
    url: '/employment/plan/listEmploymentPlan'  ,
    method: 'get',
    params: query
  })
}

// 新增年龄区间
export function addAgeRange(data) {
  return request({
    url: '/employment/plan/addAgeRange',
    method: 'post',
    data: data
  })
}

// 修改年龄区间
export function modifyAgeRange(data) {
  return request({
    url: '/employment/plan/modifyAgeRange',
    method: 'put',
    data: data
  })
}

// 删除临时工
export function delEmployment(ids) {
  return request({
    url: '/employment/plan/delEmployment/' + ids,
    method: 'delete'
  })
}


export function getAgeRange() {
  return request({
    url: '/employment/plan/getAgeRange',
    method: 'get'

  })
}



